package com.yymx.toback.common.enums;

import lombok.Getter;

/**
 * 云片发送模板
 */
@Getter
public enum YunpianSmsTemplateEnum {

    //密码
    RESET_PWQ("1","【汉祖科技】您的密码的验证码是：#code#。为保障信息安全，请勿告诉他人。");

    private String description;

    private String type;

    YunpianSmsTemplateEnum(String type, String description) {
        this.type = type;
        this.description = description;
    }

    public static YunpianSmsTemplateEnum getType(String type) {
        YunpianSmsTemplateEnum[] var1 = values();
        int var2 = var1.length;
        for(int var3 = 0; var3 < var2; ++var3) {
            YunpianSmsTemplateEnum item = var1[var3];
            if (item.getType().equals(type)) {
                return item;
            }
        }
        return null;
    }

}
